package com.wan37.protobuf.constant;


/**
 * 通用的常量.
 *
 * @author ly
 */
public class Common {



    private Common() {
    }

    //注册相关
    /**
     * 账号已经被注册
     */
    public static final int ACCOUNT_ALREADY_EXIST = 1000;

    /**
     * 注册成功
     */
    public static final int REGISTER_OK = 1001;


    //登录相关
    /**
     * 账号不存在, 未注册
     */
    public static final int ACCOUNT_INEXIST = 2000;

    /**
     * 登录成功
     */
    public static final int LOGIN_SUCCESS = 2001;

    /**
     * 登录失败
     */
    public static final int LOGIN_ERROR = 2002;

    /**
     * 重复登录
     */
    public static final int REPEATED_LOGIN = 2003;


    //游戏逻辑相关
    /**
     * 用户未登录
     */
    public static final int GAME_SENDER_OFFLINE = 3000;

    /**
     * 服务器接收客户端消息成功
     */
    public static final int GAME_MESSAGE_RECEIVE_SUCCESS = 3001;

    /**
     * 用户切换场景成功
     */
    public static final int GAME_MOVE_SUCCESS = 3002;


    /**
     * 用户切换场景失败
     */
    public static final int GAME_MOVE_ERROR = 3003;


    /**
     * 显示场景角色成功
     */
    public static final int GAME_AOI_SUCCESS = 3004;

    /**
     * 显示场景角色失败
     */
    public static final int GAME_AOI_ERROR = 3005;

    /**
     * 技能施法成功
     */
    public static final int GAME_SKILL_SUCCESS = 3006;

    /**
     * 技能施法失败
     */
    public static final int GAME_SKILL_ERROR = 3007;

    /**
     * 聊天成功
     */
    public static final int GAME_CHAT_SUCCESS = 3008;

    /**
     * 聊天失败
     */
    public static final int GAME_CHAT_ERROR = 3009;


    /**
     * 客户端攻击指令
     */
    public static final int GAME_ATTACK_SUCCESS = 3010;


    public static final int GAME_ATTACK_ERROR = 3011;

    /**
     * 客户端获取技能
     */
    public static final int GAME_GET_SKILL_SUCCESS = 3012;


    public static final int GAME_GET_SKILL_ERROR = 3013;


    /**
     * 获取用户角色
     */
    public static final int GAME_ROLE_SUCCESS = 3014;

    public static final int GAME_ROLE_ERROR = 3015;

    /**
     * 登入初始化
     */
    public static final int GAME_USER_LOGIN_INIT_SUCCESS = 3016;


    /**
     * 请求创建boss副本成功
     */
    public static final int GAME_BOSS_SCENE_SUCCESS = 3017;

    /**
     * 请求boss副本失败
     */
    public static final int GAME_BOSS_SCENE_ERROR = 3018;

    /**
     * 请求攻击成功并且击败了对方
     */
    public static final int GAME_ATTACK_SUCCESS_FIT_IT = 3019;


    public static final int GAME_FIGHTING_TIMEOUT = 3020;

    public static final int IRONY_USE = 3021;

    public static final int IRONY_CANCEL = 3022;
    /**
     * 用户创建新角色
     */
    public static final int GAME_CREATE_ROLE = 3023;
    /**
     * 创建新角色失败
     */
    public static final int GAME_CREATE_ROLE_ERROR = 3024;

    /**
     * 用户初始化失败
     */
    public static final int GAME_USER_LOGIN_INIT_ERROR = 3025;

    /**
     * 请求创建战斗场景
     */
    public static final int GAME_PVP_SCENE_SUCCESS = 3026;

    /**
     * 有其他用户离开
     */
    public static final int OTHER_USER_MOVE = 3027;

    public static final int USER_KILL_BOSS = 3028;



    //服务端主动推送消息
    /**
     * 怪物已复活
     */
    public static final int SERVER_MONSTER_REVERT = 60001;

    /**
     * 自动回复hp的消息
     */
    public static final int SERVER_AUTO_HP_REVERT = 60002;

}
